from pddnsc.sources.http import GenericHttpSource


class WTFIsMyIP(GenericHttpSource):
    """
    https://wtfismyip.com/
    https://gitlab.com/wtfismyip/wtfismyip
    """

    def post_init(self):
        super().post_init()
        self.url_v4 = "https://text.ipv4.myip.wtf"
        self.url_v6 = "https://text.ipv6.myip.wtf"
